<{if $friends}>
	<{section name=i loop=$friends}>
		<table cellpadding=0 cellspacing=0 border=0 style="width:225px; float: left; border: 1px solid #CCC; margin:10px 0 0 10px;" onmouseover="$('#f_d_<{$friends[i].id}>').show(); $('#f_e_<{$friends[i].id}>').show();" onmouseout="$('#f_d_<{$friends[i].id}>').hide();$('#f_e_<{$friends[i].id}>').hide();">
			<tr valign="top">
				<td style="padding: 5px 5px 5px 20px;">
					<a style="font-size:14px; display: block; height:18px; overflow: hidden;" href="/u.php?u=<{$friends[i].friend_id}>" target="_blank" title="<{$friends[i].nickname}>">
						<{$friends[i].nickname}> 
					</a>
				</td>
				<td align="right" style="padding:5px;">
					<a id="f_d_<{$friends[i].id}>" style="display: none;" onclick="UM_LAYER.open('friend/show_del',  {'id' : '<{$friends[i].id}>'}, this );" title="删除"><i class="icon_b icon_del"></i></a>
				</td>
			</tr>
			<tr valign="top">
				<td style="padding:0 5px 5px 20px; font-size:12px; color:#777;">
					<span style="font-size:12px; color:#777;" title="好友的登录名"><{$friends[i].user_nickname}></span>
					(<span style="font-size:12px; color:#777;" title="发送推荐的次数"><{$friends[i].total_recommends_send}></span>
					/
					<span style="font-size:12px; color:#777;" title="接收推荐的次数"><{$friends[i].total_recommends_receive}></span>)
				</td>
				<td align="right" style="padding:0 5px 5px 5px;">
					<a id="f_e_<{$friends[i].id}>" style="display: none;" onclick="UM_LAYER.open('friend/show_edit', {'id' : '<{$friends[i].id}>'}, this );" title="修改自定义昵称"><i class="icon_b icon_setup"></i></a>
				</td>
			</tr>
			<tr valign="top">
				<td colspan="2" style="padding:0 30px 5px 20px;">
					<{if $friends[i].weibo_id}><img src="/images/icon_weibo_16.png" width=16 height=16><{/if}>
					<{if $friends[i].renren_id}><img src="/images/icon_renren_16.png" width=16 height=16><{/if}>
					<{if $friends[i].kaixin001_id}><img src="/images/icon_kaixin001_16.png" width=16 height=16><{/if}>
					<{if $friends[i].qqwb_id}><img src="/images/icon_qqwb_16.png" width=16 height=16><{/if}>
				</td>
			</tr>
		</table>
	<{/section}>

	<div class="page" style="text-align:left;">
		<{if $prev_page}>
			<img src="/images/arrow_page_left.png"  onclick="show_friend.ls(<{$prev_page}>)">
		<{else}>
			<img src="/images/arrow_page_left_grey.png">
		<{/if}>
		<span>第<{$prev_page+1}>页</span>
		<{if $next_page}>
			<img src="/images/arrow_page_right.png" onclick="show_friend.ls(<{$next_page}>)">
		<{else}>
			<img src="/images/arrow_page_right_grey.png">
		<{/if}>
	</div>
<{/if}>